package edu.java.lectures.lec05.cohesion;

import java.sql.Connection;

public class BankAccountRDBMSRepository {

    private RDBMSConnectionManager dbManager;

    public void persistAccountInRDBMS(BankAccount bankAccount) {
	Connection con = dbManager.getRDBMSConnection();
	// con.persist(bankAccount);
	dbManager.closeRDBMSConnection(con);
    }
}
